﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Styx.Common;

namespace OCBotBase
{
    class Toy
    {
        private String Name;
        private String ItemID;
        private String SpellID;
        private String VendorID;
        private String Currency;
        private String CurrencyAmount;
        private String Reputation;
        private String ReputationLevel;

        public Toy()
        {

        }

        public void setValue(String valName, String valValue)
        {
            switch (valName)
            {
                case "Name":
                    Name = valValue;
                    return;
                case "ItemID":
                    ItemID = valValue;
                    return;
                case "SpellID":
                    SpellID = valValue;
                    return;
                case "VendorID":
                    VendorID = valValue;
                    return;
                case "Currency":
                    Currency = valValue;
                    return;
                case "CurrencyAmount":
                    CurrencyAmount = valValue;
                    return;
                case "Reputation":
                    Reputation = valValue;
                    return;
                case "ReputationLevel":
                    ReputationLevel = valValue;
                    return;
                default:
                    Logging.Write("[OCBot] Found value {0} could not comprehend", valName);
                    return;
            }
        }
    }
}
